import Vue from 'vue'
import VueRouter from 'vue-router'
import about from '../router/routes/about'
import home from '../router/routes/home'
import common from '../router/routes/common'
Vue.use(VueRouter)

const routes = [
  about,
  home,
  ...common
]

const router = new VueRouter({
  mode: 'history',
  // base: process.env.BASE_URL,
  routes
})

export default router
